home *** CD-ROM | disk | FTP | other *** search
/ How Would You Survive? / How Would You Survive (1995)(Grolier)[Mac-PC].iso / pc / egyptw.dir / 01702_Script_E Family Screens < prev    next >
Text File  |  1995-09-13  |  9KB  |  313 lines

  1. global gQuest, gBeenClicked
  2.  
  3. on EFamilyRollovers1
  4.   set gBeenClicked = 0
  5.   if (not(CheckClickedStatus(gQuest))) then
  6.     if rollover(6) then
  7.       repeat while rollover(6)
  8.         EgyptCursor
  9.         set the locH of sprite 13 to 337
  10.         set the locV of sprite 13 to 203
  11.         updatestage
  12.         if the mousedown then
  13.           set GBeenClicked = 1
  14.         else
  15.           if gBeenClicked = 1 then
  16.             repeat while gBeenClicked = 1
  17.               AnimateLoop 6, 218, 5, 0, 2
  18.             end repeat
  19.           end if
  20.         end if
  21.       end repeat
  22.     else
  23.       if rollover(8) then
  24.         ArrowCursor
  25.         repeat while rollover(8)
  26.           set the locH of sprite 9 to 530
  27.           set the locV of sprite 9 to 306
  28.           updatestage
  29.         end repeat
  30.         set the locH of sprite 9 to 930
  31.         updatestage
  32.       else
  33.         if rollover(10) then
  34.           ArrowCursor
  35.           repeat while rollover(10)
  36.             set the locH of sprite 11 to 424
  37.             set the locV of sprite 11 to 166
  38.             updatestage
  39.           end repeat
  40.         else
  41.           if rollover(7) then
  42.             repeat while rollover(7)
  43.               EgyptCursor
  44.               set the locH of sprite 12 to 489
  45.               set the locV of sprite 12 to 279
  46.               updatestage
  47.               if the mousedown then
  48.                 set GBeenClicked = 1
  49.               else
  50.                 if gBeenClicked = 1 then
  51.                   repeat while gBeenClicked = 1
  52.                     AnimateLoopFast 7, 224, 5, 0, 2
  53.                   end repeat
  54.                 end if
  55.               end if
  56.             end repeat
  57.             set the locH of sprite 12 to 989
  58.             updatestage
  59.           else
  60.             if rollover(14) then
  61.               ArrowCursor
  62.               repeat while rollover(14)
  63.                 set the locH of sprite 15 to 485
  64.                 set the locV of sprite 15 to 298
  65.                 updatestage
  66.               end repeat
  67.               set the locH of sprite 15 to 985
  68.               updatestage
  69.             else
  70.               if rollover(16) then
  71.                 ArrowCursor
  72.                 repeat while rollover(16)
  73.                   set the locH of sprite 17 to 373
  74.                   set the locV of sprite 17 to 319
  75.                   updatestage
  76.                 end repeat
  77.                 set the locH of sprite 17 to 973
  78.                 updatestage
  79.               else
  80.                 if rollover(18) then
  81.                   ArrowCursor
  82.                   repeat while rollover(18)
  83.                     set the locH of sprite 19 to 419
  84.                     set the locV of sprite 19 to 307
  85.                     updatestage
  86.                   end repeat
  87.                   set the locH of sprite 19 to 919
  88.                   updatestage
  89.                 else
  90.                   if rollover(20) then
  91.                     ArrowCursor
  92.                     repeat while rollover(20)
  93.                       set the locH of sprite 21 to 233
  94.                       set the locV of sprite 21 to 335
  95.                       updatestage
  96.                     end repeat
  97.                     set the locH of sprite 21 to 933
  98.                     updatestage
  99.                   else
  100.                     if rollover(27) then
  101.                       ArrowCursor
  102.                       repeat while rollover(27)
  103.                         set the locH of sprite 28 to 423
  104.                         set the locV of sprite 28 to 273
  105.                         updatestage
  106.                       end repeat
  107.                       set the locH of sprite 28 to 923
  108.                       updatestage
  109.                     else
  110.                       if rollover(40) then
  111.                         HandCursor
  112.                       else
  113.                         if rollover(41) then
  114.                           HandCursor
  115.                         else
  116.                           if rollover(42) then
  117.                             HandCursor
  118.                           else
  119.                             ArrowCursor
  120.                           end if
  121.                         end if
  122.                       end if
  123.                     end if
  124.                   end if
  125.                 end if
  126.               end if
  127.             end if
  128.           end if
  129.         end if
  130.       end if
  131.     end if
  132.   end if
  133.   RandomQuestion(gQuest)
  134. end
  135.  
  136. on EFamilyRollovers2
  137.   set gBeenClicked = 0
  138.   if (not(CheckClickedStatus(gQuest))) then
  139.     if rollover(7) then
  140.       repeat while rollover(7)
  141.         EgyptCursor
  142.         set the locH of sprite 10 to 323
  143.         set the locV of sprite 10 to 336
  144.         updatestage
  145.         if the mousedown then
  146.           set GBeenClicked = 1
  147.         else
  148.           if gBeenClicked = 1 then
  149.             repeat while gBeenClicked = 1
  150.               AnimateLoop 7, 250, 6, 0, 2
  151.             end repeat
  152.           end if
  153.         end if
  154.       end repeat
  155.       set the locH of sprite 10 to 923
  156.       updatestage
  157.     else
  158.       if rollover(6) then
  159.         repeat while rollover(6)
  160.           EgyptCursor
  161.           set the locH of sprite 11 to 202
  162.           set the locV of sprite 11 to 215
  163.           updatestage
  164.           if the mousedown then
  165.             set GBeenClicked = 1
  166.           else
  167.             if gBeenClicked = 1 then
  168.               repeat while gBeenClicked = 1
  169.                 AnimateLoopFast 6, 256, 5, 0, 2
  170.               end repeat
  171.             end if
  172.           end if
  173.         end repeat
  174.         set the locH of sprite 11 to 902
  175.         updatestage
  176.       else
  177.         if rollover(8) then
  178.           ArrowCursor
  179.           repeat while rollover(8)
  180.             set the locH of sprite 9 to 313
  181.             set the locV of sprite 9 to 359
  182.             updatestage
  183.           end repeat
  184.           set the locH of sprite 9 to 913
  185.           updatestage
  186.         else
  187.           if rollover(8) then
  188.             ArrowCursor
  189.             repeat while rollover(8)
  190.               set the locH of sprite 9 to 313
  191.               set the locV of sprite 9 to 359
  192.               updatestage
  193.             end repeat
  194.             set the locH of sprite 9 to 913
  195.             updatestage
  196.           else
  197.             if rollover(39) then
  198.               HandCursor
  199.             else
  200.               if rollover(40) then
  201.                 HandCursor
  202.               else
  203.                 if rollover(41) then
  204.                   HandCursor
  205.                 else
  206.                   if rollover(42) then
  207.                     HandCursor
  208.                   else
  209.                     ArrowCursor
  210.                   end if
  211.                 end if
  212.               end if
  213.             end if
  214.           end if
  215.         end if
  216.       end if
  217.     end if
  218.   end if
  219.   RandomQuestion(gQuest)
  220. end
  221.  
  222. on EFamilyRollovers3
  223.   set gBeenClicked = 0
  224.   if (not(CheckClickedStatus(gQuest))) then
  225.     if rollover(7) then
  226.       repeat while rollover(7)
  227.         EgyptCursor
  228.         if the mousedown then
  229.           set GBeenClicked = 1
  230.         else
  231.           if gBeenClicked = 1 then
  232.             preloadcast 312, 323
  233.             repeat while gBeenClicked = 1
  234.               Animate12 7, "WhooshForCat.AIFF"
  235.             end repeat
  236.           end if
  237.         end if
  238.       end repeat
  239.     else
  240.       if rollover(9) then
  241.         repeat while rollover(9)
  242.           set the locH of sprite 15 to 140
  243.           set the locV of sprite 15 to 285
  244.           updatestage
  245.         end repeat
  246.         set the locH of sprite 15 to 940
  247.         updatestage
  248.       else
  249.         if rollover(10) then
  250.           repeat while rollover(10)
  251.             EgyptCursor
  252.             if the mousedown then
  253.               set GBeenClicked = 1
  254.             else
  255.               if gBeenClicked = 1 then
  256.                 repeat while gBeenClicked = 1
  257.                   AnimateCircle3 10,"SE141802.AIF (Jar Rolling)"
  258.                 end repeat
  259.               end if
  260.             end if
  261.           end repeat
  262.         else
  263.           if rollover(11) then
  264.             EgyptCursor
  265.             repeat while rollover(11)
  266.               EgyptCursor
  267.               if the mousedown then
  268.                 set GBeenClicked = 1
  269.               else
  270.                 if gBeenClicked = 1 then
  271.                   repeat while gBeenClicked = 1
  272.                     Animate6 11, "BabyLaugh1.AIFF"
  273.                   end repeat
  274.                 end if
  275.               end if
  276.             end repeat
  277.           else
  278.             if rollover(12) then
  279.               ArrowCursor
  280.               repeat while rollover(12)
  281.                 set the locH of sprite 14 to 411
  282.                 set the locV of sprite 14 to 250
  283.                 updatestage
  284.               end repeat
  285.               set the locH of sprite 14 to 911
  286.               updatestage
  287.             else
  288.               if rollover(39) then
  289.                 HandCursor
  290.               else
  291.                 if rollover(41) then
  292.                   HandCursor
  293.                 else
  294.                   if rollover(42) then
  295.                     HandCursor
  296.                   else
  297.                     ArrowCursor
  298.                   end if
  299.                 end if
  300.               end if
  301.             end if
  302.           end if
  303.         end if
  304.       end if
  305.     end if
  306.   end if
  307.   RandomQuestion(gQuest)
  308. end
  309.  
  310.  
  311.  
  312.  
  313.